/*基本css*/
* {
    margin: 0;
    padding: 0;
    /*设置内减模式，盒子不会被改变大小*/
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
}

a {
    text-decoration: none;
}

/*整体布局*/
.main_index {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 头部css */
.head {
    height: 60px;
    /*#808080 是16进制，这里是十进制*/
    background: rgba(128, 128, 128, 0.8);
    box-sizing: border-box;
}

.head_user {
    float: left;
    width: 180px;
    height: 60px;
    font-size: 16px;
    line-height: 60px;
    padding-left: 10px;
    margin-left: 10px;
}

.head h1 {
    margin: 0 auto;
    text-align: center;
    line-height: 60px;
    font-size: 30px;
}

/*主体css*/
.body {
    flex: 1; /*主体高度沾满剩余*/
    width: 100%;
    display: flex;
    margin-top: 2px;
}

/*侧栏*/
.body_left {
    width: 13%;
    background: rgba(128, 128, 128, 0.8);
    border-radius: 10px;
    margin-right: 2px;
    padding: 4px 2px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.body_left .list-group {
    margin: 0;
}

.body_left .list-group-item {
    height: 60px;
    text-align: center;
    line-height: 60px;
    padding: 0;
    margin-bottom: 8px;
    border-radius: 10px;
}

.body_left .exit {
    display: flex;
    justify-content: space-between;
}

.body_left .exit .list-group-item {
    width: 45%;
    height: 50px;
    text-align: center;
    line-height: 50px;
    padding: 0;
    margin-bottom: 2px;
    border-radius: 10px;
}

/*这两个样式不能组合*/
.body_left .exit .btn-info {
    color: #fff;
    background-color: #5bc0de;
    border-color: #46b8da;
}

.body_left .exit .btn-info:hover {
    color: #fff;
    background-color: #31b0d5;
    border-color: #04536b;
}

.body_left .exit .btn-danger {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

.body_left .exit .btn-danger:hover {
    color: #fff;
    background-color: #c9302c;
    border-color: #ac2925;
}

/*右侧展示*/
.body_right {
    width: 100%;
    padding: 10px;
    border: 1px gray solid;
    border-radius: 10px;
}

.body_right > div {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/*修改表单查询框*/
.right_head {
    display: flex;
    justify-content: center;
}

.form-inline {
    width: 100%;
    margin: 20px 0;
    text-align: center;
}

.form-inline .form-group label {
    text-align: center;
    font-size: 18px;
    margin: 0 5px 0 0;
}

.form-inline .form-group .form-control {
    width: 140px;
}

.form-inline .form-group {
    margin-right: 10px;
}

.form-inline button {
    margin-left: 10px;
    width: 60px;
}

.form-inline button:last-child {
    width: 80px;
}

.form-inline select {
    width: 75px;
    height: 25px;
    border-radius: 5px;
}

/*主体表格css*/
.body_right .table-responsive {
    width: 100%;
    border: 1px solid #736363;
    border-radius: 10px;
    margin-top: 10px;
}

@-moz-document url-prefix() {
    fieldset {
        display: table-cell;
    }
}

.body_right .table {
    margin-bottom: 10px;
}

.body_right .table tr th {
    text-align: center;
    height: 40px;
    line-height: 40px;
    padding: 5px 0;
}

.body_right .table tr th:first-child {
    width: 70px;
}

.body_right .table tr td {
    text-align: center;
    padding: 0;
    height: 50px;
    line-height: 50px;
}

.body_right .table tr td:first-child {
    width: 70px;
}

/*todo 表格的单元格宽度设置*/

.body_right .nav {
    display: flex;
    justify-content: center;
}